package it.univaq.mwt.business;

import java.util.List;
import java.util.Set;

import it.univaq.mwt.exceptionmonitor.WishlistUserException;
import it.univaq.mwt.model.entity.Files;
import it.univaq.mwt.model.entity.Gift;



public interface GiftService {
	

	public Gift createGift(Gift gift) throws WishlistUserException; 
	void createGift(String title, String link, String description,int id_list) throws WishlistUserException;
	public Gift editGift(Gift gift) throws WishlistUserException;
	public void deleteGift(int id_gift)  throws WishlistUserException;
	public Set<Gift> getGiftList(int id_list);
	public Gift getGift(int id);
	public List<Gift> getList(int i, int j);
	public int getGiftNumber();
	public void addFile(Gift gift, Files file) throws WishlistUserException;
	public void editFile(Gift gift, Files file) throws WishlistUserException;
	public List<Gift> getListSmall(int limit);
	public List<Gift> getGiftListByUserId(int id_user);
	public List<Gift> getGiftListByCategoryId(int id_category);

}
